package com.timmy.chi.model.beans;

import java.util.List;

/**
 * Created by Timmy on 2017/5/1.
 */

public class HouTai {


    /**
     * orders : [{"order":{"id":4,"time":1493635190582,"uid":1},"foodStates":[{"id":1,"food":{"id":22,"name":"菠菜面筋","price":19.9,"material":"菠菜,面筋","image":"https://imgsa.baidu.com/baike/c0%3Dbaike92%2C5%2C5%2C92%2C30/sign=54e73b32b619ebc4d4757ecbe34fa499/c75c10385343fbf29fc7a274b57eca8064388ff9.jpg","sid":1},"sid":1,"count":1}]},{"order":{"id":5,"time":1493635354495,"uid":1},"foodStates":[{"id":20,"food":{"id":23,"name":"酸辣蕨根粉","price":19.9,"material":"蕨根粉,花生","image":"http://recipe0.hoto.cn/pic/recipe/l/12/81/229650_9ea2c3.jpg","sid":1},"sid":1,"count":1}]},{"order":{"id":6,"time":1493635381587,"uid":1},"foodStates":[{"id":3,"food":{"id":23,"name":"酸辣蕨根粉","price":19.9,"material":"蕨根粉,花生","image":"http://recipe0.hoto.cn/pic/recipe/l/12/81/229650_9ea2c3.jpg","sid":1},"sid":1,"count":1}]},{"order":{"id":7,"time":1493635459603,"uid":1},"foodStates":[{"id":4,"food":{"id":22,"name":"菠菜面筋","price":19.9,"material":"菠菜,面筋","image":"https://imgsa.baidu.com/baike/c0%3Dbaike92%2C5%2C5%2C92%2C30/sign=54e73b32b619ebc4d4757ecbe34fa499/c75c10385343fbf29fc7a274b57eca8064388ff9.jpg","sid":1},"sid":1,"count":1}]},{"order":{"id":8,"time":1493635510887,"uid":1},"foodStates":[{"id":5,"food":{"id":22,"name":"菠菜面筋","price":19.9,"material":"菠菜,面筋","image":"https://imgsa.baidu.com/baike/c0%3Dbaike92%2C5%2C5%2C92%2C30/sign=54e73b32b619ebc4d4757ecbe34fa499/c75c10385343fbf29fc7a274b57eca8064388ff9.jpg","sid":1},"sid":1,"count":1}]},{"order":{"id":9,"time":1493635510897,"uid":1},"foodStates":[]},{"order":{"id":10,"time":1493635510898,"uid":1},"foodStates":[]},{"order":{"id":11,"time":1493635510899,"uid":1},"foodStates":[{"id":8,"food":{"id":33,"name":"素炒西兰花","price":29.9,"material":"西兰花,红椒","image":"https://imgsa.baidu.com/baike/c0%3Dbaike80%2C5%2C5%2C80%2C26/sign=2ace47e465224f4a43947b41689efb37/0823dd54564e9258493cb72c9482d158cdbf4ee3.jpg","sid":2},"sid":1,"count":1}]},{"order":{"id":12,"time":1493635712071,"uid":1},"foodStates":[{"id":9,"food":{"id":43,"name":"可乐","price":4.9,"material":"","image":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1493399030394&di=5fa7d267e0e183f3e0012d9b9ab28bec&imgtype=0&src=http%3A%2F%2Fwww.aplan.tv%2Fuploads%2Fbuys%2F90_1430998776.jpg","sid":3},"sid":1,"count":1}]},{"order":{"id":13,"time":1493635717635,"uid":1},"foodStates":[{"id":10,"food":{"id":33,"name":"素炒西兰花","price":29.9,"material":"西兰花,红椒","image":"https://imgsa.baidu.com/baike/c0%3Dbaike80%2C5%2C5%2C80%2C26/sign=2ace47e465224f4a43947b41689efb37/0823dd54564e9258493cb72c9482d158cdbf4ee3.jpg","sid":2},"sid":1,"count":1}]},{"order":{"id":14,"time":1493635722809,"uid":1},"foodStates":[{"id":11,"food":{"id":46,"name":"抹茶蛋糕","price":14.9,"material":"","image":"https://imgsa.baidu.com/baike/c0%3Dbaike80%2C5%2C5%2C80%2C26/sign=34feb482c4bf6c81e33a24badd57da50/b21c8701a18b87d68f03fbf50f0828381e30fd93.jpg","sid":4},"sid":1,"count":2}]},{"order":{"id":15,"time":1493635733757,"uid":1},"foodStates":[{"id":12,"food":{"id":46,"name":"抹茶蛋糕","price":14.9,"material":"","image":"https://imgsa.baidu.com/baike/c0%3Dbaike80%2C5%2C5%2C80%2C26/sign=34feb482c4bf6c81e33a24badd57da50/b21c8701a18b87d68f03fbf50f0828381e30fd93.jpg","sid":4},"sid":1,"count":2},{"id":13,"food":{"id":43,"name":"可乐","price":4.9,"material":"","image":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1493399030394&di=5fa7d267e0e183f3e0012d9b9ab28bec&imgtype=0&src=http%3A%2F%2Fwww.aplan.tv%2Fuploads%2Fbuys%2F90_1430998776.jpg","sid":3},"sid":1,"count":1}]},{"order":{"id":16,"time":1493636955633,"uid":1},"foodStates":[{"id":14,"food":{"id":22,"name":"菠菜面筋","price":19.9,"material":"菠菜,面筋","image":"https://imgsa.baidu.com/baike/c0%3Dbaike92%2C5%2C5%2C92%2C30/sign=54e73b32b619ebc4d4757ecbe34fa499/c75c10385343fbf29fc7a274b57eca8064388ff9.jpg","sid":1},"sid":1,"count":1}]},{"order":{"id":17,"time":1493636959763,"uid":1},"foodStates":[{"id":15,"food":{"id":23,"name":"酸辣蕨根粉","price":19.9,"material":"蕨根粉,花生","image":"http://recipe0.hoto.cn/pic/recipe/l/12/81/229650_9ea2c3.jpg","sid":1},"sid":1,"count":2}]},{"order":{"id":18,"time":1493636970516,"uid":1},"foodStates":[{"id":16,"food":{"id":47,"name":"厚多士","price":14.9,"material":"","image":"http://h.hiphotos.baidu.com/baike/w%3D268%3Bg%3D0/sign=819cc76fd309b3deebbfe36ef4840bbc/622762d0f703918f773e5dcd533d269758eec4ce.jpg","sid":4},"sid":1,"count":1}]},{"order":{"id":19,"time":1493637166651,"uid":1},"foodStates":[{"id":17,"food":{"id":23,"name":"酸辣蕨根粉","price":19.9,"material":"蕨根粉,花生","image":"http://recipe0.hoto.cn/pic/recipe/l/12/81/229650_9ea2c3.jpg","sid":1},"sid":1,"count":1}]},{"order":{"id":20,"time":1493637174480,"uid":1},"foodStates":[{"id":18,"food":{"id":23,"name":"酸辣蕨根粉","price":19.9,"material":"蕨根粉,花生","image":"http://recipe0.hoto.cn/pic/recipe/l/12/81/229650_9ea2c3.jpg","sid":1},"sid":1,"count":1}]},{"order":{"id":21,"time":1493637188401,"uid":1},"foodStates":[{"id":19,"food":{"id":23,"name":"酸辣蕨根粉","price":19.9,"material":"蕨根粉,花生","image":"http://recipe0.hoto.cn/pic/recipe/l/12/81/229650_9ea2c3.jpg","sid":1},"sid":1,"count":1}]},{"order":{"id":22,"time":1493637245030,"uid":1},"foodStates":[]},{"order":{"id":23,"time":1493637548045,"uid":1},"foodStates":[{"id":21,"food":{"id":46,"name":"抹茶蛋糕","price":14.9,"material":"","image":"https://imgsa.baidu.com/baike/c0%3Dbaike80%2C5%2C5%2C80%2C26/sign=34feb482c4bf6c81e33a24badd57da50/b21c8701a18b87d68f03fbf50f0828381e30fd93.jpg","sid":4},"sid":1,"count":2},{"id":22,"food":{"id":43,"name":"可乐","price":4.9,"material":"","image":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1493399030394&di=5fa7d267e0e183f3e0012d9b9ab28bec&imgtype=0&src=http%3A%2F%2Fwww.aplan.tv%2Fuploads%2Fbuys%2F90_1430998776.jpg","sid":3},"sid":1,"count":1}]},{"order":{"id":24,"time":1493637669745,"uid":1},"foodStates":[{"id":23,"food":{"id":25,"name":"凉拌莲藕","price":19.9,"material":"莲藕","image":"https://imgsa.baidu.com/baike/c0%3Dbaike150%2C5%2C5%2C150%2C50/sign=9f198a61a38b87d6444fa34d6661435d/6c224f4a20a4462325f29d329a22720e0cf3d7a1.jpg","sid":1},"sid":1,"count":1},{"id":24,"food":{"id":26,"name":"凉拌三丝","price":19.9,"material":"胡萝卜,白萝卜,青萝卜","image":"https://imgsa.baidu.com/baike/c0%3Dbaike92%2C5%2C5%2C92%2C30/sign=adfdc55049fbfbedc8543e2d19999c53/c8ea15ce36d3d53941525bac3887e950352ab076.jpg","sid":1},"sid":1,"count":1},{"id":25,"food":{"id":27,"name":"凉拌凉粉","price":19.9,"material":"凉粉,花生","image":"https://imgsa.baidu.com/baike/c0%3Dbaike116%2C5%2C5%2C116%2C38/sign=c655d9d78a13632701e0ca61f0e6cb89/f31fbe096b63f624bcea7c088744ebf81a4ca302.jpg","sid":1},"sid":1,"count":1}]},{"order":{"id":25,"time":1493647124152,"uid":3},"foodStates":[{"id":26,"food":{"id":22,"name":"菠菜面筋","price":19.9,"material":"菠菜,面筋","image":"https://imgsa.baidu.com/baike/c0%3Dbaike92%2C5%2C5%2C92%2C30/sign=54e73b32b619ebc4d4757ecbe34fa499/c75c10385343fbf29fc7a274b57eca8064388ff9.jpg","sid":1},"sid":1,"count":1}]},{"order":{"id":26,"time":1493647346218,"uid":3},"foodStates":[{"id":27,"food":{"id":22,"name":"菠菜面筋","price":19.9,"material":"菠菜,面筋","image":"https://imgsa.baidu.com/baike/c0%3Dbaike92%2C5%2C5%2C92%2C30/sign=54e73b32b619ebc4d4757ecbe34fa499/c75c10385343fbf29fc7a274b57eca8064388ff9.jpg","sid":1},"sid":1,"count":1},{"id":28,"food":{"id":23,"name":"酸辣蕨根粉","price":19.9,"material":"蕨根粉,花生","image":"http://recipe0.hoto.cn/pic/recipe/l/12/81/229650_9ea2c3.jpg","sid":1},"sid":1,"count":1}]}]
     * responseState : 0
     * msg : 查询用户订单成功
     */

    private int responseState;
    private String msg;
    private List<OrdersBean> orders;

    public int getResponseState() {
        return responseState;
    }

    public void setResponseState(int responseState) {
        this.responseState = responseState;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<OrdersBean> getOrders() {
        return orders;
    }

    public void setOrders(List<OrdersBean> orders) {
        this.orders = orders;
    }

    public static class OrdersBean {
        /**
         * order : {"id":4,"time":1493635190582,"uid":1}
         * foodStates : [{"id":1,"food":{"id":22,"name":"菠菜面筋","price":19.9,"material":"菠菜,面筋","image":"https://imgsa.baidu.com/baike/c0%3Dbaike92%2C5%2C5%2C92%2C30/sign=54e73b32b619ebc4d4757ecbe34fa499/c75c10385343fbf29fc7a274b57eca8064388ff9.jpg","sid":1},"sid":1,"count":1}]
         */

        private OrderBean order;
        private List<FoodStatesBean> foodStates;

        public OrderBean getOrder() {
            return order;
        }

        public void setOrder(OrderBean order) {
            this.order = order;
        }

        public List<FoodStatesBean> getFoodStates() {
            return foodStates;
        }

        public void setFoodStates(List<FoodStatesBean> foodStates) {
            this.foodStates = foodStates;
        }

        public static class OrderBean {
            /**
             * id : 4
             * time : 1493635190582
             * uid : 1
             */

            private int id;
            private long time;
            private int uid;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public long getTime() {
                return time;
            }

            public void setTime(long time) {
                this.time = time;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }
        }

        public static class FoodStatesBean {
            /**
             * id : 1
             * food : {"id":22,"name":"菠菜面筋","price":19.9,"material":"菠菜,面筋","image":"https://imgsa.baidu.com/baike/c0%3Dbaike92%2C5%2C5%2C92%2C30/sign=54e73b32b619ebc4d4757ecbe34fa499/c75c10385343fbf29fc7a274b57eca8064388ff9.jpg","sid":1}
             * sid : 1
             * count : 1
             */

            private int id;
            private FoodBean food;
            private int sid;
            private int count;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public FoodBean getFood() {
                return food;
            }

            public void setFood(FoodBean food) {
                this.food = food;
            }

            public int getSid() {
                return sid;
            }

            public void setSid(int sid) {
                this.sid = sid;
            }

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public static class FoodBean {
                /**
                 * id : 22
                 * name : 菠菜面筋
                 * price : 19.9
                 * material : 菠菜,面筋
                 * image : https://imgsa.baidu.com/baike/c0%3Dbaike92%2C5%2C5%2C92%2C30/sign=54e73b32b619ebc4d4757ecbe34fa499/c75c10385343fbf29fc7a274b57eca8064388ff9.jpg
                 * sid : 1
                 */

                private int id;
                private String name;
                private double price;
                private String material;
                private String image;
                private int sid;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public double getPrice() {
                    return price;
                }

                public void setPrice(double price) {
                    this.price = price;
                }

                public String getMaterial() {
                    return material;
                }

                public void setMaterial(String material) {
                    this.material = material;
                }

                public String getImage() {
                    return image;
                }

                public void setImage(String image) {
                    this.image = image;
                }

                public int getSid() {
                    return sid;
                }

                public void setSid(int sid) {
                    this.sid = sid;
                }
            }
        }
    }
}
